﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Serialization;
using Utilities;

namespace Models
{
    [JsonIgnoreAttribute("Workflow", "Participants", "ModifiedTime")]
    public class Condition : EntityBase
    {
        public virtual List<Participant> Participants { get; set; }
        public int? WorkflowID { get; set; }
        public virtual Workflow Workflow { get; set; }
        public string ConditionType { get; set; }
        public string ConditionName { get; set; }
        public string ConditionOperator { get; set; }
        public string ConditionValue { get; set; }
        public int? FieldID{ get; set; }
        public virtual Field Field { get; set; }
    }
}